package com.enbatis.mybatisplugs.entity;
import com.enbatis.mybatisplugs.commons.annotation.PrimaryKey;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
* 描述： login_log
* @author wangweidong
* @date 2019-11-11 10:03:55
*/

@Data
public class LoginLog implements Serializable {

        /**
        *
        */
        @PrimaryKey
        @JsonSerialize(using = ToStringSerializer.class)
        private Long id;

        /**
        *
        */
        private String ip;

        /**
        *
        */
        private String address;

        /**
        *
        */
        private Date ctime;

        /**
        *
        */
        private String username;

        /**
        *
        */
        private Long userId;

        /**
         *
         */
        private Integer deleted;


        /**
         *
         */
        private Integer type;

        /**
         *
         */
        private String url;

}